import { Component, OnInit, Input } from "@angular/core";
import { HttpService } from "src/app/shared/service/http.service";

@Component({
  selector: "app-information-card",
  templateUrl: "./information-card.component.html",
  styleUrls: ["./information-card.component.scss"],
})
export class InformationCardComponent implements OnInit {
  @Input() tagData: any = {};
  constructor(private httpService: HttpService) {}

  ngOnInit() {}
  

  call(phone) {
    if (phone) {
      this.httpService.changeCallNumber(phone);
    }
  }
}
